package com.stars.entity.pshow;
import javax.validation.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.stars.common.base.entity.BaseEntity;/**
 * @Title: 仓库管理实体
 * @author 肖伟
 * @date 2020-01-04
 * @version V1.0
 *
 */
@Data
@Table(name = "P_SHOW_CK")
@EqualsAndHashCode(callSuper = false)
@ExcelTarget("20")
public class PShowCkEntity extends BaseEntity{

	/**仓库名称*/
	@NotBlank(message="仓库名称不能为空!")
	@Excel(name = "仓库名称")
	@ApiModelProperty(value ="仓库名称",name = "name")
	private String name;
	/**仓库编码*/
	@Excel(name = "仓库编码")
	@ApiModelProperty(value ="仓库编码",name = "code")
	private String code;
	/**容量*/
	@Excel(name = "容量")
	@ApiModelProperty(value ="容量",name = "volumne")
	private Integer volumne;
	/**所属组织*/
	@Column(name = "ORG_ID")
	@ApiModelProperty(value ="所属组织",name = "orgId")
	private String orgId;
	/**所属组织*/
	@Column(name = "ORG_NAME")
	@Excel(name = "所属组织")
	@ApiModelProperty(value ="所属组织",name = "orgName")
	private String orgName;
	/**所属组织代码*/
	@Column(name = "ORG_CODE")
	@ApiModelProperty(value ="所属组织代码",name = "orgCode")
	private String orgCode;
	/**管理员*/
	@Column(name = "USER_NAME")
	@Excel(name = "管理员")
	@ApiModelProperty(value ="管理员",name = "userName")
	private String userName;
	/**管理员id*/
	@Column(name = "USER_ID")
	@ApiModelProperty(value ="管理员id",name = "userId")
	private String userId;
}

